package com.example.api.project.controller.orderThread;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import com.example.api.project.service.api.Mn200Servicer;

/**
 * 继承Application接口后项目启动时会按照执行顺序执行run方法 通过设置Order的value来指定执行的顺序
 */
@Component
@Order(value = 1)
public class StartService implements ApplicationRunner {

 
	@Autowired
	private Mn200Servicer Mn200Servicer; 
	
	static final Logger logger = LoggerFactory.getLogger(StartService.class);

	public void run(ApplicationArguments args) throws Exception {

		
		
	}
}